package com.wanczy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wanczy.pojo.Goods;
import com.wanczy.pojo.User;

public interface UserMapper {
	// 根据类型查找商品
	public List<Goods> findByType(String goodsType);
	// 根据名称模糊查找商品
	public List<Goods> findByNameLike(@Param("goodsName")String goodsName,@Param("shopName")String shopName,@Param("goodsAddress")String goodsAddress,@Param("goodsTaste")String goodsTaste);
	// 验证用户登录
	public User findUser(@Param("userTel")String userTel,@Param("userPass")String userPass);
	// 用户注册
	public boolean doInsUser(@Param("userTel")String userTel,@Param("userPass")String userPass);
	
}
